home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Script for connecting to Dow Jones
- ;
- CLS
- echo "Please wait..."
- echo "Logging on to Dow Jones"
- localecho "off"
- Data "7"
- Parity "E"
- Stop "1"
-
- if djdial = 0
- goto tele:
- else if djdial = 1
- goto tym:
-
- tele:
- echo "Via Telenet At 7-E-1"
- dial telenet
- wait 1
- if baud = 300
- out "\r"
- else if baud = 1200
- out "\r"
- else
- out "@"
- wait 1
- out "\r"
- in "TERMINAL=" 15
- out "\r"
- in "@" 10
- out "C DOW\r"
- in "?" 15
- goto finish:
-
- tym:
- echo "Via Tymnet, 7-E-1"
- dial tymnet
- wait 2
- out "A"
- in "in" 15
- out "DOW1;;"
- in "?" 15
- wait 1
- goto finish:
-
- finish:
- out "DJNS\r"
- in "WORD" 10
- out dpass
- out "\r"
- end
-